import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'login',
    component: () => import('../views/Login.vue')
  },{
    path: '/interview',
    name: 'interview',
    component: () => import('../views/school/Interview.vue'),
    children:[
      {
          path: '',
          name: 'interview-start',
          componet: () => import('../views/Init.vue')
      }
    ]
  },{
    path: '/register',
    name: 'register',
    component: () => import('../views/register/Register')
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
